package com.dhcc.bpm.modules.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dhcc.bpm.modules.api.entity.PolicyItem;

import java.util.List;

/**
 * @Title
 * @ClassName PolicyMapper
 * @Desription
 * @Author zhangzexu
 * @Date 2020/10/9 14:53
 * @Version V1.0
 */
public interface PolicyItemMapper extends BaseMapper<PolicyItem> {


    boolean updatePolicyItem (PolicyItem policyItem);

    List<PolicyItem> selectByParentId(PolicyItem policyItem);

    boolean updateDeletePolicyItem (PolicyItem policyItem);
    boolean deletePolicyItem (Long policyItemId);
    boolean deletePolicyItemTagId (Long policyTagId);
    boolean updatePolicyItemAll (PolicyItem policyItem);
}
